package com.oa.bean.work;

import java.util.Date;
import java.util.Set;

//物品申领表
public class Applyuse {
	private int uid;// 申领编号
	private int eid;// 员工编号
	private String ugname;// 申领物品名称
	private int ucount;// 申领物品数量
	private String upurpose;// 用途
	private Date ucreattime;// 创建时间
	private Date uendtime;// 结束时间

	private Emp emp;

	public Applyuse() {
	}

	public Applyuse(int uid, int eid, String ugname, int ucount, String upurpose, Date ucreattime, Date uendtime) {
		super();
		this.uid = uid;
		this.eid = eid;
		this.ugname = ugname;
		this.ucount = ucount;
		this.upurpose = upurpose;
		this.ucreattime = ucreattime;
		this.uendtime = uendtime;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}

	public String getUgname() {
		return ugname;
	}

	public void setUgname(String ugname) {
		this.ugname = ugname;
	}

	public int getUcount() {
		return ucount;
	}

	public void setUcount(int ucount) {
		this.ucount = ucount;
	}

	public String getUpurpose() {
		return upurpose;
	}

	public void setUpurpose(String upurpose) {
		this.upurpose = upurpose;
	}

	public Date getUcreattime() {
		return ucreattime;
	}

	public void setUcreattime(Date ucreattime) {
		this.ucreattime = ucreattime;
	}

	public Date getUendtime() {
		return uendtime;
	}

	public void setUendtime(Date uendtime) {
		this.uendtime = uendtime;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	@Override
	public String toString() {
		return "Applyuse [uid=" + uid + ", eid=" + eid + ", ugname=" + ugname + ", ucount=" + ucount + ", upurpose="
				+ upurpose + ", ucreattime=" + ucreattime + ", uendtime=" + uendtime + "]";
	}

}
